package com.hy.convenient.api.server;

import com.hy.convenient.api.dao.VouchersMapper;
import com.hy.convenient.api.pojo.VipDatePojo;
import com.hy.convenient.api.pojo.VouchersPojo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @Description TODO
 * @className VouchersServer
 * @Author hdy
 * @Date 2021-1-7 17:47
 * @Version 1.0
 */
@Service
public class VouchersServer implements ApiServerInterface<VouchersPojo>{
    @Autowired
    private VouchersMapper vouchersMapper;
    @Override
    public List<VouchersPojo> queryDownList(Map<String, Object> map) {
        return vouchersMapper.queryDownList(map);
    }

    @Override
    public int queryCount(Map<String, Object> t) {
        return vouchersMapper.queryCount(t);
    }

    @Override
    public List<VouchersPojo> queryUpdateDownList(Map<String, Object> map) {
        return vouchersMapper.queryUpdateDownList(map);
    }
}
